//
//  Person.m
//  PersistentPlan
//
//  Created by zhoufei on 16/7/27.
//  Copyright © 2016年 zhoufei. All rights reserved.
//

#import "Person.h"

@implementation Person

+ (NSString *)primaryKey
{
   return @"id";
}

+ (NSArray<NSString *> *)ignoredProperties
{
    return @[@"tmpID"];
}

- (NSString *)name
{
    return [NSString stringWithFormat:@"%@-%@",self.firstName,self.lastName];
}

@end
